#include <stdio.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
    int id = fork();
    printf("id = %d\n", id);
    if (!id)
    {
        printf("id == %d\n", id);
        printf("I am child [%d] and my parent is [%d].\n", getpid(), getppid());
    }
    return 0;
}
